<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<link href="favicon.ico" type="image/x-icon" rel="shortcut icon">

<title>天眼性能分析</title>


<style type="text/css">
    * {padding: 0;margin: 0;}
    html, body{height: 100%;position: relative;width: 100%}
</style>

</head>

<body>
    <p id="js-num"></p>
    <div style="position: absolute;left: 0;top: 20px;bottom: 0;right: 0">
        <iframe id="js-iframe" width="100%" height="100%" frameborder="0" src="http://localhost:7002/flowinstance/approval/index?node_id=9cf3a4c0-2694-54a8-cd9c-39fcb485f008&proc_id=352752ea-1f23-3855-8f22-39fcb46a80b7&package_id=baa28fd5-a876-e811-93ed-4487fcdfd794&oid="><iframe>
    </div>
    <script type="text/javascript">
        var num = 0;
        var url = "http://localhost:7002/flowinstance/approval/index?node_id=9cf3a4c0-2694-54a8-cd9c-39fcb485f008&proc_id=352752ea-1f23-3855-8f22-39fcb46a80b7&package_id=baa28fd5-a876-e811-93ed-4487fcdfd794&oid=";
        var intervalTime = setInterval(function () {
            var time = (new Date()).getTime();
            var newUrl = url + "&_time=" + time
            a = document.getElementById("js-iframe")
            a.src = newUrl;
            num++;
            document.getElementById("js-num").innerText = "第" + num + "次";
            if(num >=1000){
                clearInterval(intervalTime);
            }
        }, 15000)
    </script>
</body>
</html>